#pragma once
#define PBBIM_%ClassUp%          "PBBim.Tool.%Class%"
#define PBBIM_MESSAGE_TOOLPROMPT        "PBBim.Message.ToolPrompt"

//=======================================================================================
// @bsiclass                                     %Author%                     %CreateTime%
//=======================================================================================

class %Class%Tool : public DgnPlatform::DgnPrimitiveTool
{
    DEFINE_T_SUPER(DgnPlatform::DgnPrimitiveTool)
private:
    bvector<DPoint3d> m_points;

protected:
    virtual Utf8CP _GetToolId() const override { return PBBIM_%ClassUp%; }
    virtual void _OnPostInstall() override;
    virtual void _OnRestartTool() override;
    virtual bool _OnDataButton(DgnButtonEventCP) override;
    virtual bool _OnResetButton(DgnButtonEventCP) override;
    virtual void _OnDynamicFrame(DgnButtonEventCP) override;
	virtual bool _OnInstall() override;

public:
    %Class%Tool();
    ~%Class%Tool();
};
